home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15892 < prev    next >
Encoding:
Text File  |  1996-08-05  |  842 b   |  24 lines

  1. Newsgroups: comp.lang.c++
  2. Path: news.inap.net!news1!basmith1
  3. From: basmith@iquest.net (Brian Smith)
  4. Subject: cout and colors; help
  5. X-Nntp-Posting-Host: ind-000-236-58.iquest.net
  6. Message-ID: <4k9ut6$q8_001@basmith1.iquest.net>
  7. Sender: news@iquest.net (News Admin)
  8. Organization: IDT
  9. X-Newsreader: News Xpress Version 1.0 Beta #4
  10. Date: Mon, 8 Apr 1996 03:44:33 GMT
  11.  
  12. I'm new to C++, using Borland Turbo C++ for DOS version 3.0.
  13.  
  14. I wrote a small program that used different text colors, and all my screen 
  15. output was with putch() or cprintf(). When I tried to use cout, I lost the 
  16. ability to set the colors with textcolor(). Surely there's a way to use cout, 
  17. with it's much simpler syntax, and still have control over colors, but I can't 
  18. find it, either in the manual or the on-line help.
  19.  
  20. Any assistance w/b greatly appreciated.
  21.  
  22. Brian Smith
  23.  
  24.